<!--{include manage_header}-->
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="/manage/credit/index.php">积分管理</a></li>
    <li><a href="/manage/credit/settings">积分规则</a></li>
	<li style="float:right;  font-size:22px; ">
	 <a href="javascript::" style="padding-right:30px;color:#3B95C8;">
    <!--{if $_SESSION['ali_token']}-->${mb_strimwidth($login_user['realname'],0,10)}<!--{else}-->${mb_strimwidth($login_user['username'],0,10)}<!--{/if}-->
	</a> </li>
    </ul>
</div>
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="partner">
	<!--<div class="dashboard" id="dashboard">
		<ul>${mcurrent_credit('settings')}</ul>
	</div>-->
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head" id="head"><!--<h2>积分规则</h2>-->
				<ul>
					<li id="one1" onclick="setTab('one',1)">基本规则</li>
					<li id="one2" onclick="setTab('one',2)">用户积分充值</li>
					
				</ul>
				
				
				</div>
                <div class="sect">
				
				<div id="con_one_1">
				
                    <form method="post">
						<div class="wholetip clear"><!--<h3>1、基本规则</h3>--></div>
						<input type="hidden" name="action" value="settings" />
                        <div class="field">
                            <label>用户注册</label>
                            <input type="text" size="30" name="credit[register]" class="number" value="{$INI['credit']['register']}"/>
                            <label>用户登录</label>
                            <input type="text" size="30" name="credit[login]" class="number" value="{$INI['credit']['login']}"/>
						</div>
                        <div class="field">
                            <label>邀请好友</label>
                            <input type="text" size="30" name="credit[invite]" class="number" value="{$INI['credit']['invite']}"/>
                            <label>购买商品</label>
                            <input type="text" size="30" name="credit[buy]" class="number" value="{$INI['credit']['buy']}"/>
                        </div>
                        <div class="field">
                            <label>支付返积分</label>
                            <input type="text" size="30" name="credit[pay]" class="number" value="{$INI['credit']['pay']}"/>
                            <label>充值返积分</label>
                            <input type="text" size="30" name="credit[charge]" class="number" value="{$INI['credit']['charge']}"/>
							<span class="hint">购买商品/在线充值时，按付款金额的比例返还积分（如填写0.5则按照付款金额的一半返积分）</span>
                        </div>
                        <div class="field">
                            <label>评论返积分</label>
                            <input type="text" size="30" name="credit[comment]" class="number" value="{$INI['credit']['comment']}"/>
							<span class="hint">消费后点评商品返积分</span>
                        </div>
						<div class="act">
                            <input type="submit" value="保存" name="commit" class="formbutton" />
                        </div>
                    </form>
					</div>
						<div id="con_one_2" style="display:none;">

                    <form method="post">
						<div class="wholetip clear"><!--<h3>1、用户积分充值</h3>--></div>
						<input type="hidden" name="action" value="charge" />
                        <div class="field">
                            <label>用户名</label>
                            <input type="text" size="30" name="username" class="number" value="0"/>
                            <label>充值积分</label>
                            <input type="text" size="30" name="credit" class="number" value="0"/>
                            <input type="submit" value="充值" name="commit" class="formbutton" />
                        </div>
                    </form>
					</div>
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
</div>

</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include manage_footer}-->
